package com.jindy.module.engineeringcost.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 【工程部费用】对象 t_engineering_cost
 * 
 * @author jindy
 * @date 2023-01-31
 */
@Data
public class EngineeringCost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 申请人id */
    @Excel(name = "申请人id")
    private Long applicantId;

    /** 申请人姓名 */
    @Excel(name = "申请人姓名")
    private String applicantName;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 业务员id */
    @Excel(name = "业务员id")
    private Long salesman;

    /** 业务员名称 */
    @Excel(name = "业务员名称")
    private String salesmanName;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目地址 */
    @Excel(name = "项目地址")
    private String projectAddress;

    /** 工程部人员id */
    @Excel(name = "工程部人员id")
    private Long userId;

    /** 工程部人员姓名 */
    @Excel(name = "工程部人员姓名")
    private String userName;

    /** 工程部人员照片 */
    @Excel(name = "工程部人员照片")
    private String userPhoto;

    /** 出差天数 */
    @Excel(name = "出差天数")
    private Long days;

    /** 费用 */
    @Excel(name = "费用")
    private BigDecimal costs;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 对接人姓名 */
    @Excel(name = "对接人姓名")
    private String recipientName;

    /** 对接人电话 */
    @Excel(name = "对接人电话")
    private String recipientTel;

    /** 服务类别(1安装调试 2设备维修 3驻场服务） */
    @Excel(name = "服务类别")
    private String serviceType;

    /** 业务员情况说明 */
    @Excel(name = "业务员情况说明")
    private String salesmanRemark;

    /** 工程部服务结果说明 */
    @Excel(name = "工程部服务结果说明")
    private String engineerRemark;

    /** 流水单号 */
    @Excel(name = "流水单号")
    private String serialNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setSalesman(Long salesman) 
    {
        this.salesman = salesman;
    }

    public Long getSalesman() 
    {
        return salesman;
    }
    public void setSalesmanName(String salesmanName) 
    {
        this.salesmanName = salesmanName;
    }

    public String getSalesmanName() 
    {
        return salesmanName;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setProjectAddress(String projectAddress) 
    {
        this.projectAddress = projectAddress;
    }

    public String getProjectAddress() 
    {
        return projectAddress;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserPhoto(String userPhoto) 
    {
        this.userPhoto = userPhoto;
    }

    public String getUserPhoto() 
    {
        return userPhoto;
    }
    public void setDays(Long days) 
    {
        this.days = days;
    }

    public Long getDays() 
    {
        return days;
    }
    public void setCosts(BigDecimal costs) 
    {
        this.costs = costs;
    }

    public BigDecimal getCosts() 
    {
        return costs;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("orderNo", getOrderNo())
            .append("salesman", getSalesman())
            .append("salesmanName", getSalesmanName())
            .append("projectName", getProjectName())
            .append("projectAddress", getProjectAddress())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userPhoto", getUserPhoto())
            .append("days", getDays())
            .append("costs", getCosts())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
